﻿using Cookbook.Common;

namespace Cooking.Client
{
    public class ClientRule : Rule
    {
        public static readonly ClientRule RecipeTitleIsRequired = new ClientRule("RecipeTitleIsRequired");
        public static readonly ClientRule RecipeDescriptionIsRequired = new ClientRule("RecipeDescriptionIsRequired");
        public static readonly ClientRule RecipeTitleMustBeUnique = new ClientRule("RecipeTitleMustBeUnique");

        public ClientRule(string code) : base(code)
        {
        }
    }
}
